//
//  HZMProduct.m
//  糖糖大魔王
//
//  Created by 韩震明 on 15/11/2.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "HZMProduct.h"

@implementation HZMProduct

- (void)dealloc
{
    [_productId release];
    [_type_id release];
    [_searchResultsTitle_product release];
    [_productType release];
    [_pic release];
    [super dealloc];
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.productId = value;
    }
    if ([key isEqualToString:@"type"]) {
        self.productType = value;
    }
    if ([key isEqualToString:@"title"]) {
        self.searchResultsTitle_product = value;
    }
}

@end
